﻿namespace SL651Center2.x.Messages
{
    public class MessageData : IMessage
    {
        /// <summary>
        /// 流水号
        /// </summary>
        public byte[] SerialNumber { get; set; } = Array.Empty<byte>();
        /// <summary>
        /// 流水号数字形式
        /// </summary>
        public ushort SerialNum { get; set; }
        /// <summary>
        /// 发报时间
        /// </summary>
        public byte[] SendTime { get; set; } = Array.Empty<byte>();
        /// <summary>
        /// 发报时间字符串形式
        /// </summary>
        public string SendTimeStr { get; set; } = string.Empty;
        /// <summary>
        /// 遥测站地址
        /// </summary>
        public byte[] TelemetryAddress { get; set; } = Array.Empty<byte>();
        /// <summary>
        /// 遥测站地址的字符串形式
        /// </summary>
        public string TelemetryAddress_str { get; set; } = string.Empty;

        public byte[] Datas { get; set; } = Array.Empty<byte>();
    }
}
